package cn.tedu._03weibo_test.mapper;

import cn.tedu._03weibo_test.pojo.dto.CommentAddParam;
import cn.tedu._03weibo_test.pojo.entity.Comment;
import cn.tedu._03weibo_test.pojo.vo.WeiboVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper {
    int insertComment(Comment comment);

    List<WeiboVO> selectByComment(@Param("weiboId") Long weiboId);
}
